﻿@using Webdiyer.WebControls.Mvc;
@model PagedList<Inspinia_MVC5.Models.Ebook>

<div class="row">
    @foreach (var item in Model)
    {
        <div class="col-md-3">
            <div class="ibox">
                <div class="ibox-content product-box">

                    <div class="product-imitation" style="overflow:hidden;height:220px;padding-top: 0px;padding-bottom: 0px;"  >
                        <img src="@item.EbookPic" style="width:100%;height:100%;" alt="图片" />
                    </div>
                    <div class="product-desc">
                        <span class="product-price">
                            免费
                        </span>
                        <small class="text-muted">
                            @item.BookType.TypeName
                        </small>
                        <a href="#" class="product-name"> @item.EbookName </a>



                        <div class="small m-t-xs">
                            @item.EbookPress
                        </div>
                        <div class="m-t text-righ">

                            <a href="/User/EbookDetail?id=@item.Id" class="btn btn-xs btn-outline btn-primary">阅读 <i class="fa fa-long-arrow-right"></i> </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>

    }
</div>
